using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MyAuto : MonoBehaviour
{


    private void OnEnable()
    {
        Invoke("HideGameObject", 2);
    }

    void HideGameObject()
    {
        PoolManager.Instance.PushObj(gameObject, gameObject.name);
    }
}
